import request from "@/utils/request";

export function getdrawMoney(params) {
  return request({
    url: "back/finance/drawMoney?type=list",
    method: "POST",
    params
  });
}

export function getApplyList(params) {
  return request({
    url: "back/finance/identity?type=list",
    method: "get",
    params
  });
}

export function applyconfirm(data) {
  return request({
    url: "back/finance/identity?type=confirm",
    method: "post",
    data
  });
}

export function getWithDrawList(data) {
  return request({
    url: "back/finance/drawMoney?type=list",
    method: "post",
    data
  });
}

export function withdrawAgree(data) {
  return request({
    url: "back/finance/drawMoney?type=after",
    method: "post",
    data
  });
}

export function withdrawGiveMoney(data) {
  return request({
    url: "back/finance/drawMoney?type=give",
    method: "post",
    data
  });
}
